|
COMPARE CASE$
This command will compare the two specified strings and return a value of one if they match, and a value of zero if they do not match.
Return Integer=COMPARE CASE$(string A, string B)
string A
String
The compare string A
string B
String
This value is a string value encased in speech marks.
A value of one if the strings match, or zero otherwise
a$="hello"
b$="hello"
if compare case$(a$,b$)=1
print "there is a match"
else
print "there is not a match"
endif
do
loop
end
TEXT Commands Menu
Index
|